[TPM] Set tcpa calls in the rombios and other fixes.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 6 Feb 2007 23:01:35 +0000 (23:01 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 6 Feb 2007 23:01:35 +0000 (23:01 +0000)
commit09a4bf86cfa76d98c7d2732bc56dd5b1c2851e34
tree1482af837337355bd3a19ae22782ce097bb8d696
parent9c3844a97e1efdbd7ce22d3fa634ad07c4448146
[TPM] Set tcpa calls in the rombios and other fixes.

This patch places some tcpa calls into the rombios that had previously
not applied anymore or were not set.
Force the reads from MMIO memory locations that the compiler otherwise
optimizes away (-O2) if there was an immediate write to the same
memory location before.
Use #define'd constants wherever possible.
Fix all remaining compiler warnings.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/firmware/rombios/32bit/tcgbios/tcgbios.c
tools/firmware/rombios/32bit/tcgbios/tpm_drivers.c
tools/firmware/rombios/32bit/util.h
tools/firmware/rombios/rombios.c